export const APPROVAL_STATUS = {
  '0': {
    text: '未审批',
    type: 'warning',
    icon: 'el-icon-clock'
  },
  '1': {
    text: '已通过',
    type: 'success',
    icon: 'el-icon-check'
  },
  '2': {
    text: '已拒绝',
    type: 'danger',
    icon: 'el-icon-close'
  }
}

export const SEX = {
  '1': {
    text: '女性',
    type: 'success',
    icon: 'el-icon-user-solid'
  },
  '2': {
    text: '男性',
    type: 'primary',
    icon: 'el-icon-user'
  }
}

export const YES_NO = {
  '1': {
    text: '是',
    type: 'success',
    icon: 'el-icon-check'
  },
  '0': {
    text: '否',
    type: 'info',
    icon: 'el-icon-close'
  }
}

export const SERVICE_STATUS = {
  '1': {
    text: '上线接单',
    type: 'success',
    icon: 'el-icon-success'
  },
  '0': {
    text: '下线休息',
    type: 'info',
    icon: 'el-icon-moon'
  }
}


export const EDUCATION = {
  '0': {
    text: '小学',
    type: 'primary',
    icon: 'el-icon-check'
  },
  '1': {
    text: '初中',
    type: 'primary',
    icon: 'el-icon-check'
  },
  '2': {
    text: '中专',
    type: 'primary',
    icon: 'el-icon-check'
  },
  '3': {
    text: '高中',
    type: 'primary',
    icon: 'el-icon-check'
  },
  '4': {
    text: '大专',
    type: 'success',
    icon: 'el-icon-check'
  },
  '5': {
    text: '本科',
    type: 'success',
    icon: 'el-icon-check'
  },
  '6': {
    text: '研究生',
    type: 'success',
    icon: 'el-icon-check'
  },
  '7': {
    text: '博士生',
    type: 'danger',
    icon: 'el-icon-check'
  }
}

export const PRINCIPAL_TYPE = {
  '1': {
    text: '个人',
    type: 'success',
    icon: 'el-icon-user-solid'
  },
  '2': {
    text: '服务商',
    type: 'info',
    icon: 'el-icon-user'
  }
}

export const NATUREOFWORK = {
  '1': {
    text: '兼职',
    type: 'success',
    icon: 'el-icon-user-solid'
  },
  '2': {
    text: '全职',
    type: 'info',
    icon: 'el-icon-user'
  }
}


export const USERTYPE = {
  '1': {
    text: '消费者',
    type: 'primary',
    icon: 'el-icon-user'
  },
  '2': {
    text: '消费商',
    type: 'success',
    icon: 'el-icon-user'
  },
  '3': {
    text: '联创合伙人',
    type: 'success',
    icon: 'el-icon-user'
  },
  '4': {
    text: '权益股东',
    type: 'success',
    icon: 'el-icon-user'
  }
}

export const USERROLE = {
  '1': {
    text: '普通用户',
    type: 'primary',
    icon: 'el-icon-user'
  },
  '2': {
    text: '技工',
    type: 'success',
    icon: 'el-icon-user'
  },
  '3': {
    text: '邻工',
    type: 'success',
    icon: 'el-icon-user'
  },
  '4': {
    text: '商家',
    type: 'success',
    icon: 'el-icon-user'
  },
  '5': {
    text: '小区管家',
    type: 'info',
    icon: 'el-icon-user'
  },
  '6': {
    text: '区县代理',
    type: 'info',
    icon: 'el-icon-user'
  },
  '7': {
    text: '市级代理',
    type: 'info',
    icon: 'el-icon-user'
  },
  '999': {
    text: '超级管理员',
    type: 'danger',
    icon: 'el-icon-user'
  },
}
export const PURVIEW = {
  '0': {
    text: '所有人',
    type: 'warning',
    icon: 'el-icon-clock'
  },
  '1': {
    text: '关注',
    type: 'success',
    icon: 'el-icon-check'
  },
  '2': {
    text: '自已',
    type: 'danger',
    icon: 'el-icon-close'
  }
}

export const STATUS = {
  '1': {
    text: '正常',
    type: 'success',
    icon: 'el-icon-success'
  },
  '0': {
    text: '禁用',
    type: 'error',
    icon: 'el-icon-close'
  }
}


export const AGREEMENT_ROLE_TYPE = {
  '1': {
    text: '代理商',
    type: 'primary',
    icon: 'el-icon-user'
  },
  '2': {
    text: '邻工',
    type: 'success',
    icon: 'el-icon-user'
  },
  '3': {
    text: '技工',
    type: 'success',
    icon: 'el-icon-user'
  },
  '4': {
    text: '管家',
    type: 'primary',
    icon: 'el-icon-user'
  },
  '5': {
    text: '商家',
    type: 'success',
    icon: 'el-icon-user'
  }
}

export const AGREEMENT_TYPE = {
  '1': {
    text: '注册',
    type: 'primary',
    icon: 'el-icon-edit'
  },
  '2': {
    text: '隐私',
    type: 'danger',
    icon: 'el-icon-close'
  }
}


export const ORDER_STATUS = {
  '1': {
    text: '待支付',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '2': {
    text: '待发货',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '3': {
    text: '待收货',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '4': {
    text: '待评价',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '5': {
    text: '已取消',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '6': {
    text: '已售后',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '7': {
    text: '已完成',
    type: 'info',
    icon: 'el-icon-close'
  }
}

export const SERVICE_ORDER_STATUS = {
  '0': {
    text: '待支付',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '1': {
    text: '待服务',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '2': {
    text: '待评价',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '3': {
    text: '已完成',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '4': {
    text: '已取消',
    type: 'info',
    icon: 'el-icon-finished'
  },
  '5': {
    text: '已售后',
    type: 'success',
    icon: 'el-icon-finished'
  },

}

export const APPLY_FOR_TYPE = {
  '1': {
    text: '退货退款',
    type: 'warning',
    icon: 'el-icon-user-solid'
  },
  '2': {
    text: '退款(无需退货)',
    type: 'danger',
    icon: 'el-icon-user'
  }
}

export const SERVICE_APPLY_FOR_TYPE = {
  '1': {
    text: '退款',
    type: 'warning',
    icon: 'el-icon-user-solid'
  },
  '2': {
    text: '其它',
    type: 'danger',
    icon: 'el-icon-user'
  }
}


export const SERVICE_ORDER_AFTER_SALES_STATUS = {
  '0': {
    text: '待审核',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '1': {
    text: '通过',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '2': {
    text: '拒绝',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '3': {
    text: '取消',
    type: 'info',
    icon: 'el-icon-finished'
  },

}


export const STORE_ORDER_AFTER_SALES_STATUS = {

  '1': {
    text: '待审核',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '2': {
    text: '通过',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '3': {
    text: '拒绝',
    type: 'success',
    icon: 'el-icon-finished'
  },
  '4': {
    text: '取消',
    type: 'info',
    icon: 'el-icon-finished'
  },
  '5': {
    text: '完成',
    type: 'success',
    icon: 'el-icon-finished'
  },

}


//邻工订单状态 1=未支付，2=待收货/待服务，3=待评价，4=已完成，5=退款，6=取消，7=已接单
export const NEIGHBOR_WORKER_ORDER_STATUS = {

  '1': {
    text: '未支付',
    type: 'info',
    icon: 'el-icon-finished'
  },
  '2': {
    text: '待收货/待服务',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '3': {
    text: '待评价',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '4': {
    text: '已完成',
    type: 'primary',
    icon: 'el-icon-finished'
  },
  '5': {
    text: '退款',
    type: 'info',
    icon: 'el-icon-finished'
  },
  '6': {
    text: '取消',
    type: 'info',
    icon: 'el-icon-finished'
  },
  '7': {
    text: '待接单',
    type: 'success',
    icon: 'el-icon-finished'
  },

}



export const TRAINING_STATUS = {
  '0': {
    text: '未培训',
    type: 'info',
    icon: 'el-icon-user-solid'
  },
  '1': {
    text: '已培训',
    type: 'success',
    icon: 'el-icon-user'
  }
}

export const APPROVED_STATUS = {
  '0': {
    text: '未审核',
    type: 'info',
    icon: 'el-icon-user-solid'
  },
  '1': {
    text: '已审核',
    type: 'success',
    icon: 'el-icon-user'
  }
}

export const GOODS_STATUS = {
  '1': {
    text: '上架',
    type: 'success',
    icon: 'el-icon-success'
  },
  '0': {
    text: '下架',
    type: 'error',
    icon: 'el-icon-close'
  }
}


export const FEEDBACK_TYPE = {

  '1': {
    text: '用户',
    type: 'primary',
    icon: 'el-icon-check'
  },
  '2': {
    text: '代理商',
    type: 'primary',
    icon: 'el-icon-check'
  },
  '3': {
    text: '技工',
    type: 'primary',
    icon: 'el-icon-check'
  },
  '4': {
    text: '邻工',
    type: 'success',
    icon: 'el-icon-check'
  },
  '5': {
    text: '管家',
    type: 'success',
    icon: 'el-icon-check'
  },
  '6': {
    text: '商家',
    type: 'success',
    icon: 'el-icon-check'
  },
  '7': {
    text: '社区长',
    type: 'danger',
    icon: 'el-icon-check'
  }
}





